<!doctype html>
<html class="no-js">

<head>
    <title>消息列表</title>
    <#include "/fd/components/meta.html" />
    <#include "/fd/components/stylesheets.html" />
    <link rel="stylesheet" type="text/css" href="/fd/stylesheets/notificationList.css">
</head>

<body>
    <div id="app">
        <div class="top">
            <a href="/fd/emptyNotification">清空</a>
        </div>
        <div class="list">
            <#list list.list as item>
                <div class="item">
                    <#if item.type=2>
                        <a href="/fd/chat/${item.roomCode!''}">
                            <div class="content">${item.content}</div>
                            <div class="time">${item.addTime}</div>
                        </a>
                    <#elseif item.type=3>
                        <a href="/fd/questionInfo/${item.questionCode!''}">
                            <div class="content">${item.content}</div>
                            <div class="time">${item.addTime}</div>
                        </a>
                    <#else>
                        <div class="content">${item.content}</div>
                        <div class="time">${item.addTime}</div>
                    </#if>
                    <hr/>
                </div>
            </#list>
        </div>
    </div>
    <#include "/fd/components/scripts.html" />
</body>

</html>